/*
 *    Copyright (c) 2020-2025, sunlei All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Author: sunlei (daizile@126.com)
 */
/*
{
    page:{
        current:1, //当前页数
        size:10   //每页长度
    },
    cond:{ //条件
        eq:{ // 多条件对象
                        id,//Integer 
                        itemId,//Integer 赛程项目ID
                        itemName,//String 项目名称
                        startTime,//LocalDateTime 开始时间
                        endTime,//LocalDateTime 结束时间
                        creatorId,//Long 创建者id
                        createTime,//LocalDateTime 创建时间
                        isDel,//Integer 0:正常1:删除
                        scheduleId,//Integer 
                    }
    }
}
 */
// 分页查询
function ScheduleItemPageList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/scheduleitem/pagequery","post",query,SuccessFunc,FailedFunc);
}
// 列表查询
function ScheduleItemqueryList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/scheduleitem/queryList","post",query,SuccessFunc,FailedFunc);
}
// 插入数据
function ScheduleItemaddObj(obj,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/scheduleitem/save", "post", obj,SuccessFunc,FailedFunc)
}
// 主键获取数据
function ScheduleItemgetObj(id,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/scheduleitem/"+id,"get",{},SuccessFunc,FailedFunc);
}

/**
 * 主键更新
 */
function ScheduleItemupdateById(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/scheduleitem/updateById","post",query,SuccessFunc,FailedFunc);
}
/**
 * 多条件 更新
 */
function ScheduleItemupdateByMulCond(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/scheduleitem/updateByMulCond","post",query,SuccessFunc,FailedFunc);
}
// 主键删除数据
function ScheduleItemdelObj(id,SuccessFunc,FailedFunc) {
  slAjax("/abkj-api-match-provider/scheduleitem/delete/"+id,"get",{},SuccessFunc,FailedFunc);
}

